function getLodop(oOBJECT, oEMBED) {
    var LODOP;
    try {
        // 判断 Lodop 是否已经创建
        if (oOBJECT || oEMBED) {
            if (navigator.appVersion.indexOf("MSIE") >= 0 || navigator.appVersion.indexOf("Trident") >= 0) LODOP = oOBJECT;
            else LODOP = oEMBED;
        }
        if (!LODOP && window.getCLodop) {
            LODOP = window.getCLodop();
        }
        if (!LODOP) {
            alert("请安装打印控件！");
            return;
        }
        return LODOP;
    } catch (err) {
        alert("getLodop出错:" + err);
    }
}
export { getLodop };
